package 创建者模式.原型模式.浅克隆.原理;

public class RealizeType implements Cloneable {
    public RealizeType(){
        System.out.println("具体的原型对象创建完成！");
    }
    @Override
    public RealizeType clone() throws CloneNotSupportedException {
        System.out.println("具体类型复制成功");
        return (RealizeType) super.clone();
    }
}
